IF DoesFileExist(tmpfile$ + "EHNAPPC.DLL", femExists) THEN
IF DoesFileExist(tmpfile$ + "EHNAPPC.NS0", femExists) THEN
RemoveFile tmpfile$+"EHNAPPC.NS0", cmoForce
ENDIF
RenameFile tmpfile$+"EHNAPPC.DLL", "EHNAPPC.NS0"
ENDIF
IF DoesFileExist(tmpfile$ + "EHNRTRW.DLL", femExists) THEN
IF DoesFileExist(tmpfile$ + "EHNRTRW.NS0", femExists) THEN
RemoveFile tmpfile$+"EHNRTRW.NS0", cmoForce
ENDIF
RenameFile tmpfile$+"EHNRTRW.DLL", "EHNRTRW.NS0"
ENDIF
ENDIF
ENDIF
InstallSingle
tmpsz0$ = GetSymbolValue("SDLC")
IF tmpsz0$ = "1" THEN
IniEntry386% = IniEntry386% + 2
ENDIF
tmpsz$ = GetSymbolValue("TokenRing")
IF tmpsz$ = "1" THEN
IniEntry386% = IniEntry386% + 1
tmpnum% = GetWindowsMode()
IF tmpnum% <> 2 THEN
GOTO LOADTSR0
ENDIF
ENDIF
GOTO LOADTSR9
LOADTSR0:
''i% = DoMsgBox("Setup has detected Windows is not in Enhanced Mode. User has to load 802.2 TSR (NS8022.EXE) at DOS!", "NS/Router Version 4.02 Setup Message", MB_OK+MB_TASKMODAL)